bitkeeper revision 1.1637.1.1 (429f100et_8vOZLTej8un3-WOmraFg)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 2 Jun 2005 13:56:30 +0000 (13:56 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Thu, 2 Jun 2005 13:56:30 +0000 (13:56 +0000)
Fix bug #68: x86_64 build break - `pgd_cache' undeclared
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=68
reboot.c:
  Fix x86_64 build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6.11-xen-sparse/arch/xen/kernel/reboot.c

index 62c827489592c7ce855acf557b8e1c6b03178959..572b1a71b39a9fc3db20cab91460984b06caf741 100644 (file)
@@ -103,8 +103,10 @@ static void __do_suspend(void)
 
     __cli();
 
+#ifdef __i386__
     mm_pin_all();
     kmem_cache_shrink(pgd_cache);
+#endif
 
     netif_suspend();